package com.dearbinge.data.pojo.commodity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品信息 实体类
 *
 * @author wes
 * @date 2019/1/12
 */

@Api("商品信息")
public class CommodityMessage implements Serializable {

    /**
     * ID
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String content;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id 必传")
    private String userId;

    /**
     * 图片
     */
    @ApiModelProperty("图片 必传")
    private String imgUrl;

    /**
     * 地理位置名称
     */
    @ApiModelProperty("地理位置名称")
    private String positionName;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private String longitude;

    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private String latitude;

    /**
     * 成本价
     */
    @ApiModelProperty("成本价")
    private BigDecimal originalPrice;

    /**
     * 零售价
     */
    @ApiModelProperty("零售价 必传")
    private BigDecimal retailPrice;

    /**
     * 促销价
     */
    @ApiModelProperty("促销价")
    private BigDecimal discountPrice;

    /**
     * 商品名字
     */
    @ApiModelProperty("商品名字 必传")
    private String commodityName;

    /**
     * 商品编码
     */
    @ApiModelProperty("商品编码")
    private String commodityCode;

    /**
     * 商品标题
     */
    @ApiModelProperty("商品标题")
    private String commodityTitle;

    /**
     * 商品描述
     */
    @ApiModelProperty("商品描述")
    private String commodityDescribe;

    /**
     * 规格
     */
    @ApiModelProperty("规格")
    private String commodityUnit;

    /**
     * 分销会员ID
     */
    @ApiModelProperty("分销会员ID")
    private String distributionMemberId;

    /**
     * 会员名字
     */
    @ApiModelProperty("会员名字")
    private String vipName;

    /**
     * 分销次数
     */
    @ApiModelProperty("分销次数")
    private String numberOfSharing;

    /**
     * 分销量
     */
    @ApiModelProperty("分销量")
    private String shareSales;

    /**
     * 加入个人分销库时间
     */
    @ApiModelProperty("加入个人分销库时间")
    private Date addIndividualTime;

    /**
     * 商品对应的店铺ID
     */
    @ApiModelProperty("商品对应的店铺ID")
    private String commodityShopId;

    /**
     * 买家秀佣金
     */
    @ApiModelProperty("买家秀佣金")
    private BigDecimal advertisementSumCommission;

    /**
     * 发布佣金
     */
    @ApiModelProperty("发布佣金")
    private BigDecimal lssueCommission;

    /**
     * 点赞佣金
     */
    @ApiModelProperty("点赞佣金")
    private BigDecimal thumbsCommission;

    /**
     * 商品状态 （0下架    1上架）
     */
    @ApiModelProperty("商品状态 （0下架    1上架）")
    private Boolean commodityStatus;

    /**
     * 商品库存
     */
    @ApiModelProperty("商品库存")
    private Integer commodityStock;

    /**
     * 起运发货地
     */
    @ApiModelProperty("起运发货地")
    private String payLocal;


    /**
     * 商品类目
     */
    @ApiModelProperty("商品类目")
    private String commodityType;

    /**
     * 品牌
     */
    @ApiModelProperty("品牌")
    private String brand;

    /**
     * 货号（商品本身携带的）
     */
    @ApiModelProperty("货号（商品本身携带的）")
    private String goodsCode;

    /**
     * 批发价
     */
    @ApiModelProperty("批发价")
    private BigDecimal forwardAmt;

    /**
     * 零售价折扣
     */
    @ApiModelProperty("零售价折扣")
    private Double forwardPercentage;

    /**
     * 运费
     */
    @ApiModelProperty("运费")
    private Integer freight;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否删除（0：否 1：是）
     */
    @ApiModelProperty("是否删除（0：否  1：是）")
    private Boolean deleted;

    /**
     * 审核状态：0未审核，1已审核
     */
    @ApiModelProperty("审核状态：0未审核，1已审核")
    private Byte auditStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public String getCommodityTitle() {
        return commodityTitle;
    }

    public void setCommodityTitle(String commodityTitle) {
        this.commodityTitle = commodityTitle;
    }

    public String getCommodityDescribe() {
        return commodityDescribe;
    }

    public void setCommodityDescribe(String commodityDescribe) {
        this.commodityDescribe = commodityDescribe;
    }

    public String getCommodityUnit() {
        return commodityUnit;
    }

    public void setCommodityUnit(String commodityUnit) {
        this.commodityUnit = commodityUnit;
    }

    public String getDistributionMemberId() {
        return distributionMemberId;
    }

    public void setDistributionMemberId(String distributionMemberId) {
        this.distributionMemberId = distributionMemberId;
    }

    public String getVipName() {
        return vipName;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public String getNumberOfSharing() {
        return numberOfSharing;
    }

    public void setNumberOfSharing(String numberOfSharing) {
        this.numberOfSharing = numberOfSharing;
    }

    public String getShareSales() {
        return shareSales;
    }

    public void setShareSales(String shareSales) {
        this.shareSales = shareSales;
    }

    public Date getAddIndividualTime() {
        return addIndividualTime;
    }

    public void setAddIndividualTime(Date addIndividualTime) {
        this.addIndividualTime = addIndividualTime;
    }

    public String getCommodityShopId() {
        return commodityShopId;
    }

    public void setCommodityShopId(String commodityShopId) {
        this.commodityShopId = commodityShopId;
    }

    public BigDecimal getAdvertisementSumCommission() {
        return advertisementSumCommission;
    }

    public void setAdvertisementSumCommission(BigDecimal advertisementSumCommission) {
        this.advertisementSumCommission = advertisementSumCommission;
    }

    public BigDecimal getLssueCommission() {
        return lssueCommission;
    }

    public void setLssueCommission(BigDecimal lssueCommission) {
        this.lssueCommission = lssueCommission;
    }

    public BigDecimal getThumbsCommission() {
        return thumbsCommission;
    }

    public void setThumbsCommission(BigDecimal thumbsCommission) {
        this.thumbsCommission = thumbsCommission;
    }

    public Boolean getCommodityStatus() {
        return commodityStatus;
    }

    public void setCommodityStatus(Boolean commodityStatus) {
        this.commodityStatus = commodityStatus;
    }

    public Integer getCommodityStock() {
        return commodityStock;
    }

    public void setCommodityStock(Integer commodityStock) {
        this.commodityStock = commodityStock;
    }

    public String getPayLocal() {
        return payLocal;
    }

    public void setPayLocal(String payLocal) {
        this.payLocal = payLocal;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public BigDecimal getForwardAmt() {
        return forwardAmt;
    }

    public void setForwardAmt(BigDecimal forwardAmt) {
        this.forwardAmt = forwardAmt;
    }

    public Double getForwardPercentage() {
        return forwardPercentage;
    }

    public void setForwardPercentage(Double forwardPercentage) {
        this.forwardPercentage = forwardPercentage;
    }

    public Integer getFreight() {
        return freight;
    }

    public void setFreight(Integer freight) {
        this.freight = freight;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Byte getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Byte auditStatus) {
        this.auditStatus = auditStatus;
    }
}
